package cn.net.yugu.doraemon.api.common.model;

import lombok.Getter;

/**
 * @author xiangzhurui
 * @version 2022/12/1 20:33:52
 */
@Getter
public abstract class DomainEntity<ID> implements DTO {

    /**
     * 领域实体ID
     */
    protected final ID id;

    protected DomainEntity(ID id) {
        this.id = id;
    }
}
